package com.sunqianhu.design_patterns_23.behavioral.responsibility;

public abstract class Approver {
    protected Approver successor; // 后继者

    public void setSuccessor(Approver successor) {
        this.successor = successor;
    }

    public abstract void processRequest(LeaveRequest request);
}
